package com.atguigu.udmp.web.userprofile.service.impl;

import com.atguigu.udmp.web.userprofile.bean.TaskInfo;
import com.atguigu.udmp.web.userprofile.mapper.TaskInfoMapper;
import com.atguigu.udmp.web.userprofile.service.TaskInfoService;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhangchen
 * @since 2023-11-10
 */
@Service
@DS("udmp")
public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> implements TaskInfoService {

    @Override
    public List<TaskInfo> getTaskInfoListForOLAP(String execCycle) {

        List<TaskInfo> taskInfoList = baseMapper.taskInfoListForOLAP(execCycle);
        return taskInfoList;
    }
}
